//
//  YMLanguageUtil.h
//  YMMedical
//
//  Created by y s on 2024/1/20.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

//切换APP语言
#define App_Language @"App_Language_Key"

#define kSetting_Language @"key_setting_language_type"
@interface YMLanguageUtil : NSObject

+ (instancetype)shared;

- (void)launch;

+ (NSString *)getLanguageWithKey:(NSString *)key;

/** 获取设置的语言名称 0: 跟随系统 ,1: 中文 , 2:  English*/
+ (NSString *)getSettingLanguage;
/** 根据设置类型设置语言 */
+ (void)setLanguagueWithType:(NSInteger)type;

+ (BOOL)isEnglish;


@end

NS_ASSUME_NONNULL_END
